3.16.48 \(\int \frac {3+5 x}{(1-2 x)^2 (2+3 x)^2} \, dx\) [1548]

Optimal. Leaf size=43 \[ \frac {11}{49 (1-2 x)}+\frac {1}{49 (2+3 x)}-\frac {31}{343} \log (1-2 x)+\frac {31}{343} \log (2+3 x) \]

[Out]

11/49/(1-2*x)+1/49/(2+3*x)-31/343*ln(1-2*x)+31/343*ln(2+3*x)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {78} \begin {gather*} \frac {11}{49 (1-2 x)}+\frac {1}{49 (3 x+2)}-\frac {31}{343} \log (1-2 x)+\frac {31}{343} \log (3 x+2) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(3 + 5*x)/((1 - 2*x)^2*(2 + 3*x)^2),x]

[Out]

11/(49*(1 - 2*x)) + 1/(49*(2 + 3*x)) - (31*Log[1 - 2*x])/343 + (31*Log[2 + 3*x])/343

Rule 78

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin {align*} \int \frac {3+5 x}{(1-2 x)^2 (2+3 x)^2} \, dx &=\int \left (\frac {22}{49 (-1+2 x)^2}-\frac {62}{343 (-1+2 x)}-\frac {3}{49 (2+3 x)^2}+\frac {93}{343 (2+3 x)}\right ) \, dx\\ &=\frac {11}{49 (1-2 x)}+\frac {1}{49 (2+3 x)}-\frac {31}{343} \log (1-2 x)+\frac {31}{343} \log (2+3 x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 40, normalized size = 0.93 \begin {gather*} \frac {-23-31 x}{49 \left (-2+x+6 x^2\right )}-\frac {31}{343} \log (1-2 x)+\frac {31}{343} \log (2+3 x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(3 + 5*x)/((1 - 2*x)^2*(2 + 3*x)^2),x]

[Out]

(-23 - 31*x)/(49*(-2 + x + 6*x^2)) - (31*Log[1 - 2*x])/343 + (31*Log[2 + 3*x])/343

________________________________________________________________________________________

Maple [A]
time = 0.11, size = 36, normalized size = 0.84

method result size
default \(-\frac {11}{49 \left (-1+2 x \right )}-\frac {31 \ln \left (-1+2 x \right )}{343}+\frac {1}{98+147 x}+\frac {31 \ln \left (2+3 x \right )}{343}\) \(36\)
risch \(\frac {-\frac {31 x}{49}-\frac {23}{49}}{\left (-1+2 x \right ) \left (2+3 x \right )}-\frac {31 \ln \left (-1+2 x \right )}{343}+\frac {31 \ln \left (2+3 x \right )}{343}\) \(39\)
norman \(\frac {\frac {186 x^{2}}{49}-\frac {85}{49}}{\left (-1+2 x \right ) \left (2+3 x \right )}-\frac {31 \ln \left (-1+2 x \right )}{343}+\frac {31 \ln \left (2+3 x \right )}{343}\) \(40\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((3+5*x)/(1-2*x)^2/(2+3*x)^2,x,method=_RETURNVERBOSE)

[Out]

-11/49/(-1+2*x)-31/343*ln(-1+2*x)+1/49/(2+3*x)+31/343*ln(2+3*x)

________________________________________________________________________________________

Maxima [A]
time = 0.30, size = 34, normalized size = 0.79 \begin {gather*} -\frac {31 \, x + 23}{49 \, {\left (6 \, x^{2} + x - 2\right )}} + \frac {31}{343} \, \log \left (3 \, x + 2\right ) - \frac {31}{343} \, \log \left (2 \, x - 1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3+5*x)/(1-2*x)^2/(2+3*x)^2,x, algorithm="maxima")

[Out]

-1/49*(31*x + 23)/(6*x^2 + x - 2) + 31/343*log(3*x + 2) - 31/343*log(2*x - 1)

________________________________________________________________________________________

Fricas [A]
time = 0.91, size = 49, normalized size = 1.14 \begin {gather*} \frac {31 \, {\left (6 \, x^{2} + x - 2\right )} \log \left (3 \, x + 2\right ) - 31 \, {\left (6 \, x^{2} + x - 2\right )} \log \left (2 \, x - 1\right ) - 217 \, x - 161}{343 \, {\left (6 \, x^{2} + x - 2\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3+5*x)/(1-2*x)^2/(2+3*x)^2,x, algorithm="fricas")

[Out]

1/343*(31*(6*x^2 + x - 2)*log(3*x + 2) - 31*(6*x^2 + x - 2)*log(2*x - 1) - 217*x - 161)/(6*x^2 + x - 2)

________________________________________________________________________________________

Sympy [A]
time = 0.05, size = 36, normalized size = 0.84 \begin {gather*} \frac {- 31 x - 23}{294 x^{2} + 49 x - 98} - \frac {31 \log {\left (x - \frac {1}{2} \right )}}{343} + \frac {31 \log {\left (x + \frac {2}{3} \right )}}{343} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3+5*x)/(1-2*x)**2/(2+3*x)**2,x)

[Out]

(-31*x - 23)/(294*x**2 + 49*x - 98) - 31*log(x - 1/2)/343 + 31*log(x + 2/3)/343

________________________________________________________________________________________

Giac [A]
time = 1.31, size = 40, normalized size = 0.93 \begin {gather*} \frac {1}{49 \, {\left (3 \, x + 2\right )}} + \frac {66}{343 \, {\left (\frac {7}{3 \, x + 2} - 2\right )}} - \frac {31}{343} \, \log \left ({\left | -\frac {7}{3 \, x + 2} + 2 \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((3+5*x)/(1-2*x)^2/(2+3*x)^2,x, algorithm="giac")

[Out]

1/49/(3*x + 2) + 66/343/(7/(3*x + 2) - 2) - 31/343*log(abs(-7/(3*x + 2) + 2))

________________________________________________________________________________________

Mupad [B]
time = 0.04, size = 26, normalized size = 0.60 \begin {gather*} \frac {62\,\mathrm {atanh}\left (\frac {12\,x}{7}+\frac {1}{7}\right )}{343}-\frac {\frac {31\,x}{294}+\frac {23}{294}}{x^2+\frac {x}{6}-\frac {1}{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((5*x + 3)/((2*x - 1)^2*(3*x + 2)^2),x)

[Out]

(62*atanh((12*x)/7 + 1/7))/343 - ((31*x)/294 + 23/294)/(x/6 + x^2 - 1/3)

________________________________________________________________________________________